home *** CD-ROM | disk | FTP | other *** search
/ Dynamic HTML Construction Kit / Dynamic HTML Construction Kit.iso / earthlink / nscomm / java40.jar / java / lang / ExceptionInInitializerError.class (.txt) < prev    next >
Encoding:
Java Class File  |  1997-11-03  |  1013 b   |  25 lines

  1. package java.lang;
  2.  
  3. public class ExceptionInInitializerError extends LinkageError {
  4.    private Throwable exception;
  5.  
  6.    public ExceptionInInitializerError() {
  7.    }
  8.  
  9.    public ExceptionInInitializerError(Throwable var1) {
  10.       this.exception = var1;
  11.    }
  12.  
  13.    public ExceptionInInitializerError(String var1) {
  14.       super(var1);
  15.    }
  16.  
  17.    public Throwable getException() {
  18.       return this.exception;
  19.    }
  20.  
  21.    public String toString() {
  22.       return this.exception != null ? this.getClass().getName() + ": " + this.exception : super.toString();
  23.    }
  24. }
  25.